﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DAB RID: 3499
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuitTrackPhotoStageCsReq : IMessage<QuitTrackPhotoStageCsReq>, IMessage, IEquatable<QuitTrackPhotoStageCsReq>, IDeepCloneable<QuitTrackPhotoStageCsReq>, IBufferMessage
	{
		// Token: 0x17002C77 RID: 11383
		// (get) Token: 0x06009D19 RID: 40217 RVA: 0x001A4868 File Offset: 0x001A2A68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuitTrackPhotoStageCsReq> Parser
		{
			get
			{
				return QuitTrackPhotoStageCsReq._parser;
			}
		}

		// Token: 0x17002C78 RID: 11384
		// (get) Token: 0x06009D1A RID: 40218 RVA: 0x001A486F File Offset: 0x001A2A6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuitTrackPhotoStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C79 RID: 11385
		// (get) Token: 0x06009D1B RID: 40219 RVA: 0x001A4881 File Offset: 0x001A2A81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuitTrackPhotoStageCsReq.Descriptor;
			}
		}

		// Token: 0x06009D1C RID: 40220 RVA: 0x001A4888 File Offset: 0x001A2A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitTrackPhotoStageCsReq()
		{
		}

		// Token: 0x06009D1D RID: 40221 RVA: 0x001A4890 File Offset: 0x001A2A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitTrackPhotoStageCsReq(QuitTrackPhotoStageCsReq other) : this()
		{
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009D1E RID: 40222 RVA: 0x001A48B5 File Offset: 0x001A2AB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitTrackPhotoStageCsReq Clone()
		{
			return new QuitTrackPhotoStageCsReq(this);
		}

		// Token: 0x17002C7A RID: 11386
		// (get) Token: 0x06009D1F RID: 40223 RVA: 0x001A48BD File Offset: 0x001A2ABD
		// (set) Token: 0x06009D20 RID: 40224 RVA: 0x001A48C5 File Offset: 0x001A2AC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x06009D21 RID: 40225 RVA: 0x001A48CE File Offset: 0x001A2ACE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuitTrackPhotoStageCsReq);
		}

		// Token: 0x06009D22 RID: 40226 RVA: 0x001A48DC File Offset: 0x001A2ADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuitTrackPhotoStageCsReq other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009D23 RID: 40227 RVA: 0x001A490C File Offset: 0x001A2B0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009D24 RID: 40228 RVA: 0x001A494B File Offset: 0x001A2B4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009D25 RID: 40229 RVA: 0x001A4953 File Offset: 0x001A2B53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009D26 RID: 40230 RVA: 0x001A495C File Offset: 0x001A2B5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009D27 RID: 40231 RVA: 0x001A4990 File Offset: 0x001A2B90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009D28 RID: 40232 RVA: 0x001A49CE File Offset: 0x001A2BCE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuitTrackPhotoStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009D29 RID: 40233 RVA: 0x001A49FF File Offset: 0x001A2BFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009D2A RID: 40234 RVA: 0x001A4A08 File Offset: 0x001A2C08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.StageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003CAC RID: 15532
		private static readonly MessageParser<QuitTrackPhotoStageCsReq> _parser = new MessageParser<QuitTrackPhotoStageCsReq>(() => new QuitTrackPhotoStageCsReq());

		// Token: 0x04003CAD RID: 15533
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CAE RID: 15534
		public const int StageIdFieldNumber = 3;

		// Token: 0x04003CAF RID: 15535
		private uint stageId_;
	}
}
